package rs.dalao.syc.user.pay.service.impl;/*
 *   @author:Casin
 *   @date:2023/8/14
 *   @code:
 */

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import rs.dalao.syc.user.pay.dao.persist.repository.IOrderRepository;
import rs.dalao.syc.user.pay.service.IOrderService;

@Service
public class IOrderServiceImpl implements IOrderService {
    @Autowired
    @Qualifier("orderRepositoryImpl")
    private IOrderRepository repository;

    @Override
    public int updateState(String id) {
        return repository.updateState(id);
    }
}
